<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Banner extends Model
{
    protected $fillable = [
        'title', 'description', 'content', 'image', 'is_show', 'url',
    ];

    protected $casts = [
        'display' => 'boolean',
    ];

    static $IS_SHOW_MAP = [
        '否', '是',
    ];
}
